import request from '@/utils/request'

// 登录
export function signIn(data:any) {
    return request({
        url: '/login',
        method: 'post',
        data
    })
}

// 退出
export function signOut() {
    return request({
        url: '/loginOut',
        method: 'post',
    })
}

// 登录
export function getUserInfo() {
    return request({
        url: '/getUserInfo',
        method: 'get'
    })
}

